package event;

public class BidEvent extends Event {

	private String userName;
	private long auctionID;
	private double price;
	/**
	 * @param iD
	 * @param type
	 * @param timestamp
	 * @param userName
	 * @param auctionID
	 * @param price
	 */
	public BidEvent(String iD, String type, long timestamp, String userName, long auctionID, double price) {
		super(iD, type, timestamp);
		this.setUserName(userName);
		this.setAuctionID(auctionID);
		this.setPrice(price);
	}
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public long getAuctionID() {
		return auctionID;
	}
	public void setAuctionID(long auctionID) {
		this.auctionID = auctionID;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	
}
